﻿#ifndef MYGRAPHICSVIEW_H
#define MYGRAPHICSVIEW_H

#include <QObject>
#include <QGraphicsView>
#include <QDebug>
#include <QMouseEvent>
#include <QGraphicsItem>

class myGraphicsView : public  QGraphicsView
{
    Q_OBJECT
public:
    myGraphicsView(QWidget * parent = nullptr);

signals:
    void getPix(int index); 
protected:
    void mousePressEvent(QMouseEvent* event);
    virtual void mouseDoubleClickEvent(QMouseEvent *event) override;

};

#endif // MYGRAPHICSVIEW_H
